/*
 * Creative Commons Deed
 * Attribution-NonCommercial-ShareAlike 1.0 Finland
 * 
 * You are free:
 * 
 * * to copy, distribute, display, and perform the work
 * * to make derivative works
 * Under the following conditions:
 * 
 * Attribution. You must attribute the work in the manner specified by the author or licensor.
 * 
 * Noncommercial. You may not use this work for commercial purposes.
 * 
 * Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only 
 * under a license identical to this one.
 * 
 * * For any reuse or distribution, you must make clear to others the license terms of this work.
 * * Any of these conditions can be waived if you get permission from the copyright holder.
 * Your fair use and other rights are in no way affected by the above.
 * This is a human-readable summary of the Legal Code (the full license). 
 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PocketApps
{
    public partial class NucleusFileBrowser : Form
    {
        public NucleusFileBrowser()
        {
            InitializeComponent();
        }

        void Localize()
        {
            try
            {
                this.Text = PocketAppsLocalization.GetString("frmfileserver");
                chNimi.Text = PocketAppsLocalization.GetString("chfilename");
                //chType.Text = TaskuBlogiLocalization.GetString("chtype");
                //chWidth.Text = TaskuBlogiLocalization.GetString("chwidth");
                //chHeight.Text = TaskuBlogiLocalization.GetString("chheight");
                menuItem1.Text = PocketAppsLocalization.GetString("menucancel");
            }
            catch { }
        }

        private void NucleusFileBrowser_Load(object sender, EventArgs e)
        {
            Localize();
        }

        private void menuItem1_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
    }
}